package cn.lili.eventbus.event;

import cn.lili.eventbus.BaseEvent;
import cn.lili.eventbus.tags.OrderTagsEnum;
import lombok.Data;

/**
 * @Author Sylow
 * @Description
 * @Date: Created in 18:34 2025/6/17
 */
@Data
public class OrderEvent extends BaseEvent {

    private final Object data;

    private final OrderTagsEnum orderTagsEnum;

    public OrderEvent(Object data, OrderTagsEnum orderTagsEnum) {
        super("ORDER_EVENT");
        this.data = data;
        this.orderTagsEnum = orderTagsEnum;
    }
}
